<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>主页</title>
    <script  th:inline="javascript">
    	var returl = [[${ReturnURL}]];
    	var storage=window.localStorage;
    	storage["ReturnURL"]=returl;
    	function dianji(){
    		console.log(storage.ReturnURL+"=============");
    		//$("#ReturnURL").val(storage.ReturnURL);
    		document.getElementById("ReturnURL").value=storage.ReturnURL;
    	}
    </script>
</head>
<body>
    <form action="/sso/LoginTrue"  method="post">  
  			<input type="text" name="username" />  
  			<input type="text" name="password" />  
  			<input type="hidden" name="ReturnURL" id="ReturnURL"/>
  			<input type="submit" onclick="dianji();" />  
	</form>  
</body>
</html>